package com.atguigu.guli.service.edu.entity.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class CourseApiQuery {

    @ApiModelProperty(value = "课程专业父级ID")
    private String subjectParentId;

    @ApiModelProperty(value = "课程专业ID")
    private String subjectId;

    // 默认按销量排序
    @ApiModelProperty(value = "排序列： 1、销量排序 buy_count  2、发布时间排序 publish_time  3、价格排序 price  ")
    private String orderByColumn = "buy_count";

    // 默认降序排列
    @ApiModelProperty(value = "排序方式:  0升序,  1降序")
    private Integer type = 1;
}
